!'use strict';
let orderController = require('../../../app/controller/back/workorder/orderController');
orderController = ModelProxy(orderController);
let router = require('express').Router();

/*工单管理*/
router.get('/page', orderController.orderPage);
router.post('/list', orderController.orderList);
router.get('/detail/page', orderController.detailPage);//详情页面
router.post('/detail/data', orderController.detailData);//详情数据
router.post('/detail/signBtn', orderController.signBtn);//签收按钮
router.post('/detail/discardBtn', orderController.discardBtn);//废弃按钮
router.post('/detail/changeBtn', orderController.changeBtn);//改派按钮
router.post('/detail/auditBtn', orderController.auditBtn);//审核按钮
router.post('/detail/disposeBtn', orderController.disposeBtn);//处理按钮

module.exports = router;